package com.mdd.front.vo.course;

import com.mdd.common.entity.course.CourseCatalogue;
import com.mdd.common.entity.teacher.Teacher;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * CourseDetailVo
 */
@Data
public class CourseDetailVo implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;  //
    private Integer type;  // 类型：1-图文；2-音频；3-视频；4-专栏
    private String name;  // 课程名称
    private String synopsis;  // 简介
    private String cover;  // 课程封面
    private String content;  // 课程内容
    private Integer feeType;  // 收费方式：1-收费；0-免费
    private BigDecimal sellPrice;  // 售价
    private BigDecimal linePrice;  // 划线价
    private Integer virtualStudyNum;  // 虚拟学习人数
    private Integer studyNum;  // 学习人数
    private Integer status;  // 状态：1-上架；0-下架
    private Integer isChoice;  // 是否精选；1-是；0-否
    private Integer sort;  // 排序
    private List<CourseImageDetailVo> images;
    private Teacher teacher;
    private List<CourseCatalogueDetailVo> courseCatalogues;
    private boolean purchased;
    private boolean collected;
    private Integer learnState; //1：未开始；2:学习中；3:学习完成

    private Integer allowPurchase;
    private String btn_str;

}
